← Back to issue list

Use a user directory for temporary files

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1594374
Type
issue
State
open
Author
~croepha
Labels
Created
2016-06-20 13:31:21.195142+00:00
Updated
2017-03-04 19:37:38.137855+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

So i think the parts, prime, stage directories should be placed somewhere where you can configure, and I think they should default to `~/.snapcraft/` or something like that.. I can think of multiple advantages: - You don't clutter the location of the `snapcraft.yaml` file, which can be annoying if that file is under version control - You can avoid issues where the location of the `snapcraft.yaml` is mounted using a filesystem that doesn't support all the unix capabilities that might be required during building, or avoid any security blocks that might happen because of the uid/gids of the directory - if the parts are being pulled via git/bzr, you can keep them in the same place, so that later pulls can be incremental...

Evaluation history

No evaluation history available.